home *** CD-ROM | disk | FTP | other *** search
/ Power Game Pak 2 / Power Game Pak volume 2.iso / cylindrx / cwsdpmi.doc next >
Text File  |  1995-12-18  |  3KB  |  59 lines

  1. CWSDPMI is Copyright (C) 1995 Charles W Sandmann (sandmann@clio.rice.edu)
  2.                               102 Hurst Ct, Destrehan, LA 70047
  3.  
  4. This is the Beta 9 release.  The files in this binary distribution may be 
  5. redistributed without the source code provided:
  6.  
  7. * This file (or its contents) must accompany CWSDPMI.EXE
  8.  
  9. * CWSDPMI.EXE is not modified in any way except via CWSPARAM
  10.  
  11. * Distribution with commercial or shareware programs is allowed but requires
  12.   notification of the author by mail or acknowledged email
  13.  
  14. * Notice to users that they have the right to receive the source code for
  15.   CWSDPMI.  (Distributors should indicate a site for the source in their
  16.   documentation, contact address above if source is desired and not available).
  17.  
  18. * CWSDPR0.EXE may be distributed if desired under the same rules as CWSDPMI.EXE
  19.  
  20. -------------------------------------------------------------------------------
  21.  
  22. CWSDPMI was written to provide DPMI services for V2 of DJGPP.  It currently
  23. does not support 16-bit DPMI applications, DPMI applications requiring a
  24. built in extender, or some DOS/4G programs.  It does support virtual
  25. memory and hardware interrupt reflection from real mode to protected mode.
  26. DJGPP V1.1x and RSX applications will also run using this server, which can be
  27. used to provide enhanced control over hardware interrupts.  Some DPMI 1.0
  28. functions (0x506, 0x507, 0x508) have been implemented.
  29.  
  30. Please report any applications which do not work properly to the address above.
  31.  
  32. CWSDPR0.EXE is an alternate version which runs at ring 0 with virtual memory
  33. disabled.  It may be used if access to ring-0 features are desired.  It
  34. currently does not switch stacks on HW interrupts, so some DJGPP features
  35. such as SIGINT and SIGFPE are not supported (to be fixed someday).
  36.  
  37. Directions for use (server can be used in either of two different ways):
  38.  
  39. 1) "cwsdpmi" alone with no parameters will terminate and stay resident 
  40.    FOR A SINGLE DPMI PROCESS.  This means it unloads itself when your 
  41.    DPMI application exits.  This mode is useful in software which needs
  42.    DPMI services, since CWSDPMI can be exec'ed and then will unload on exit.
  43.  
  44. 2) "cwsdpmi -p" will terminate and stay resident until you remove it.
  45.    It can be loaded into UMBs with LH.  "cwsdpmi -u" will unload the TSR.
  46.  
  47. 3) The file used for virtual memory swapping, if desired, is controlled 
  48.    by the "-sc:\cwsdpmi.swp" syntax on the command line.  You must specify
  49.    either a file with full disk/directory syntax, or "-s-" which disables
  50.    virtual memory.  The environment variables GO32TMP, TMP, and TEMP are
  51.    no longer used.
  52.  
  53. 4) The default swap file name is now c:\cwsdpmi.swp, but this can be changed
  54.    with the CWSPARAM image, as can some other parameters.
  55.  
  56. I would like to give special thanks to DJ Delorie who wrote the original 
  57. GO32 code on which CWSDPMI is based.  Morten Welinder also provided and 
  58. improved much of the code in this program.
  59.